package com.oracle.zebrafreelytraveling.data.RequestResult;

import com.oracle.zebrafreelytraveling.data.bean.Replay;

import java.util.List;

/**
 * Created by yydcnjjw on 2017/8/3.
 */

public class ResReCards {


    /**
     * code : 0
     * message : 获取成功
     * data : [{"userName":"1","headImg":"content://com.oracle.zebrafreelytraveling.fileprovider/image/Android/data/com.oracle.zebrafreelytraveling/cache/img_1501679012400_1.jpg","reCard":{"id":1,"type":1,"replyId":1,"userId":1,"text":"text_a","img":"URLfdsvsvs","time":"1","receive":1}},{"userName":"1","headImg":"content://com.oracle.zebrafreelytraveling.fileprovider/image/Android/data/com.oracle.zebrafreelytraveling/cache/img_1501679012400_1.jpg","reCard":{"id":2,"type":0,"replyId":1,"userId":1,"text":"113131313131313111111111111111111111111111111111111111111111111111111111111111111111111111","time":"1","receive":1}},{"userName":"2","headImg":"image/user/img#_black#_000.jpg","reCard":{"id":3,"type":0,"replyId":1,"userId":2,"text":"113131313131313111111111111111111111111111111111111111111111111111111111111111111111111111","time":"1","receive":1}},{"userName":"3","headImg":"image/user/img#_black#_000.jpg","reCard":{"id":4,"type":0,"replyId":1,"userId":3,"text":"113131313131313111111111111111111111111111111111111111111111111111111111111111111111111111","time":"1","receive":1}},{"userName":"5","headImg":"image/user/img_black_000.jpg","reCard":{"id":16,"type":0,"replyId":1,"userId":5,"text":"113131313131313111111111111111111111111111111111111111111111111111111111111111111111111111","time":"1","receive":1}},{"userName":"6","headImg":"image/user/img#_black#_000.jpg","reCard":{"id":17,"type":0,"replyId":1,"userId":6,"text":"113131313131313111111111111111111111111111111111111111111111111111111111111111111111111111","time":"1","receive":1}},{"userName":"7","headImg":"image/user/img#_black#_000.jpg","reCard":{"id":18,"type":0,"replyId":1,"userId":7,"text":"113131313131313111111111111111111111111111111111111111111111111111111111111111111111111111","time":"1","receive":1}}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * userName : 1
         * headImg : content://com.oracle.zebrafreelytraveling.fileprovider/image/Android/data/com.oracle.zebrafreelytraveling/cache/img_1501679012400_1.jpg
         * reCard : {"id":1,"type":1,"replyId":1,"userId":1,"text":"text_a","img":"URLfdsvsvs","time":"1","receive":1}
         */

        private String userName;
        private String headImg;
        private Replay reCard;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getHeadImg() {
            return headImg;
        }

        public void setHeadImg(String headImg) {
            this.headImg = headImg;
        }

        public Replay getReCard() {
            return reCard;
        }

        public void setReCard(Replay reCard) {
            this.reCard = reCard;
        }
    }
}
